﻿@model OMS.Models.ItemQuantity
<br />
Add Item
<br />
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))
{
    @Html.AntiForgeryToken()
    @Html.HiddenFor(p=>p.ItemId,(int)@Model.ItemId)
    @Html.HiddenFor(p=>p.OrderId,(int)@Model.OrderId)
    @Html.HiddenFor(p=>p.Price,(decimal)@Model.Price)
    <table class="filter-tabel">
        <tr>
            <td>Item</td>
            <td>@Model.Name</td>
            <td></td>
        </tr>

        <tr>
            <td>Price</td>
            <td>@Model.Price</td>
            <td></td>

        </tr>

        <tr>
            <td>Quantity</td>
            <td>
                @Html.TextBoxFor(p=>p.Quantity,"1",new { @class = "admin-drop-list border" })
            </td>
            <td> </td>
        </tr>
        <tr>
            <td>Dimension</td>
            <td>
                @Html.DropDownListFor(p=>p.Dimension, new SelectList(new string[] { "Item", "Box", "Package" }), new { @id = "combobox" })
            </td>
            <td></td>
        </tr>
    </table>
    <div style="text-align: center;">
        <button type="submit" name="action" value="Done" class="buttons-yellow">Done</button>
        @Html.ActionLink("Cancel", "Index", null, new { @class = "buttons-red" })
    </div>
}
<br />
